<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style>
#sch_pwd_main {
	width: 800px;
	height: 570px;
	font-family: 'Nanum Gothic', sans-serif;
	padding-top:50px;
}

#sch_pwd_top {
	width: 800px;
	color: white;
	background-color: #c5203b;
	height: 40px;
	line-height: 40px;
	vertical-align: bottom;
	font-size: 25px;
	font-weight: bold;
}

#sch_pwd_center {
	width: 800px;
	height: 110px;
	padding-top : 15px;
}

#sch_pwd_left{
	width: 600px;
	height: 110px;
	float:left;
	text-align:right;
}

#sch_pwd_right{
	width: 200px;
	height: 110px;
	float:right;
}

#sch_pwd_bottom {
	width: 800px;
	height: 80px;
	text-align: center;
}

#sch_pwd_bottom2 {
	width: 800px;
	height: 50px;
	background-color: #160952;
}

#sch_pwd_id, #sch_pwd_em{
	width: 600px;
	height: 55px;
	font-size: 16px;
	font-weight: bold;
}

.sch_pwd_left input{
	width: 350px;
	height: 35px;
	font-size: 22px;
	line-height: 35px;
	vertical-align: middle;
	font-family: 'Nanum Gothic', sans-serif;
}

.sch_pwd_bottom input{
	width: 120px;
	height: 60px;
	color: white;
	font-size: 20px;
	font-weight: bold;
	background-color: #C90000;
	border:0.5px solid white;
	border-radius: 10px;
}

#btn_sch_search{
	background-image: url('../images/search.png');
	background-size:100% 100%;
}

#btn_sch_cnl{
	background-image: url('../images/cancel.png');
	background-size:100% 100%;
}
</style>
<script>
	function writeCheck() {
		var form = document.writeform;
	
		if (!form.mid.value) {
			alert("아이디를 입력하세요");
			form.mid.focus();
			return;
		}
		
		if (!form.email.value) {
			alert("이메일을 입력하세요");
			form.email.focus();
			return;
		}

		form.submit();
	}
</script>
</head>
<body>
<form name=writeform method=post
		action="Main.jsp?inc_content=../login/search_pwd_result.jsp">
<div id='sch_pwd_main'>
<div id='sch_pwd_top'>
Find Your Password
</div>

<div id='sch_pwd_center'>
<div id='sch_pwd_left' class='sch_pwd_left'>
<div id='sch_pwd_id'>
아이디　<input type='text' name='mid' id='mid' >
</div>
<div id='sch_pwd_em'>
이메일　<input type='text' name='email'>
</div>
</div>

<div id='sch_pwd_right'></div>
</div>

<div id='sch_pwd_bottom' class='sch_pwd_bottom'>
	<input type='button' id='btn_sch_search'value='' onclick="writeCheck();">
	<input type='button' name='Cen' id='btn_sch_cnl' value='' onclick="location.href='Main.jsp'">
</div>
<div id='sch_pwd_bottom2'></div>
</div>
</form>
</body>
</html>